[paket]
tanim   = PDF işleme kitaplığı-Qt5 bağlamları
paketci = Cihan_Alkan 
grup    = kütüphane
url     = https://poppler.freedesktop.org
arsiv   = "poppler-${surum}"

[gerek]
derleme = cmake qt5-base libpng tiff lcms2 fontconfig cairo openjpeg2 poppler
calisma =

[kaynak]
1       = ${url}/poppler-${surum}.tar.xz

[sha256]
#1       = 434ecbbb539c1a75955030a1c9b24c7b58200b7f68d2e4269e29acf2f8f13336

[derle]
betik   = cd $SRC
betik   = cmake -S poppler-$surum -B build -D CMAKE_BUILD_TYPE=Release -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_INSTALL_LIBDIR=/usr/lib -D ENABLE_UNSTABLE_API_ABI_HEADERS=OFF -D ENABLE_UTILS=OFF -D ENABLE_SPLASH=ON -D ENABLE_CPP=OFF -D ENABLE_GLIB=OFF -D ENABLE_QT5=ON -D ENABLE_ZLIB=ON -D ENABLE_CMS=lcms2 -D ENABLE_LIBOPENJPEG=none -D WITH_NSS3=OFF -D RUN_GPERF_IF_PRESENT=OFF
betik   = cmake --build build



[pakur]
betik   = cd $SRC
betik   = DESTDIR=$PKG cmake --install build
betik   = rm $PKG/usr/lib/libpoppler.so*
betik   = rm $PKG/usr/lib/pkgconfig/poppler.pc
